package com.hxm.appGenealogy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("people_service")
public class PeopleService {

    @TableId(type = IdType.AUTO)
    private Long id;
    //类型;--------------->0是兄弟姐妹 ,1是儿子，1是女儿
    Integer type;
    //所属于的people_id;
    @TableField("people_father_id")
    private Long peopleFatherId;
    //当前数据人的people_id;
    @TableField("people_below_id")
    private Long peopleBelowId;
    //people_monther_id
    private Long peopleMontherId;

}
